import { PermissionDto } from '@/api/permission.ts'

export default [
  {
    id: 'system',
    name: '系统管理',
    shortName: '系统',
    enable: true,
    icon: 'i-base:settings',
    show: true,
    type: 'MENU',
    code: 'System',
    children: [
      {
        id: 'user',
        parentId: 'system',
        code: 'User',
        component: '/src/views/system/user/user.vue',
        enable: true,
        icon: 'i-base:users',
        keepAlive: false,
        layout: '',
        method: null,
        name: '用户管理',
        shortName: '用户',
        back: false,
        weight: 20,
        path: '/sys/user',
        redirect: null,
        show: true,
        type: 'MENU',
      },
      {
        id: 'dict',
        parentId: 'system',
        code: 'Dict',
        component: '/src/views/system/dict/dict.vue',
        enable: true,
        icon: 'i-base:users',
        keepAlive: false,
        layout: '',
        method: null,
        name: '字典管理',
        shortName: '字典',
        back: false,
        weight: 20,
        path: '/sys/dict',
        redirect: null,
        show: true,
        type: 'MENU',
      },
    ],
  },
] as PermissionDto[]
